<script setup>
  import { defineEmits, ref } from 'vue';


  let emits = defineEmits(['sendMsg'])

  // let msg = ref("")

  function send(data){
    emits("sendMsg",data)
  }

</script>

<template>
  <div>
    <ul>
      <li @click="send('课程管理')">课程管理</li>
      <li @click="send('老师管理')">老师管理</li>
      <li @click="send('学生管理')">学生管理</li>
      <li @click="send('学分查看')">学分查看</li>
    </ul>

  </div>

</template>

<style scoped>

</style>
